<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<title>Document</title>
		<link rel="stylesheet" href="css/reset.css" />
		<link rel="stylesheet" href="css/kzt.css" />
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/page.js"></script>
		<script type="text/javascript" src="js/linkjs.js"></script>
		<script type="text/javascript" src="js/qos.js"></script>
	</head>

	<body>
		<div class="header">
			<div id="append"></div>
			<script>
				$("#append").load("header.html");
			</script>

			<div class="navBigbox">
				<div class="navsubBox">
					<ul class="indexMenu">
						<li class="home-btn">首页</li>
						<li class="cp-btn">产品</li>
						<li class="kf-btn">开发
							<a class="checked-arrow"></a>
						</li>
						<li class="kzt-btn">控制台</li>
						<li class="Qos-btn">帮助与支持</li>
					</ul>
				</div>
			</div>
			<div class="clear"></div>
		</div>

		<div class="contentBox">
			<h3>
			首页产品 &gt;<a style="color:#50b9e7">&nbsp;开发</a>
		</h3>
			<ul class="leftbar">
				<li class="kskf">开始开发 </li>
				<li class="lljk">流量接口</li>
				<li class="qosjs-sp">QOS介绍</li>				
				<li class="letTf-sp">LET统付流量介绍
					<a></a>
				</li>
				<li class="let-list1 checkedFontBlue"><span>&bull;</span>定向流量统付-规则添加</li>
				<li class="let-list2"><span>&bull;</span>定向流量统付-规则修改</li>
				<li class="let-list3"><span>&bull;</span>定向流量统付-规则删除</li>
				<li class="let-list4"><span>&bull;</span>定向流量统付-规则查询</li>
				<li class="let-list5"><span>&bull;</span>定向流量统付-申请变更</li>
				<li class="let-list6"><span>&bull;</span>定向流量统付-申请生效</li>
				<li class="let-list7"><span>&bull;</span>定向流量统付-申请取消</li>
			</ul>
			<div class="developmentBox">
				<div class="rightbar support-content developmentcon_1" style="position:relative;z-index:2;border:1px solid #ccc;top:-1px;">
					<h4>定向流量统付<a>(FlowUniPay（1.0）)</a></h4>
					<div class="support1page developmentPage1">
						<p>服务英文名：FlowUniPay（1.0）</p>
						<p>服务中文名：定向流量统付</p>
						<p>服务概述：定向流量统付-规则添加</p>
					</div>
					<div class="clear"></div>
					<div class="qos-nav">
						<p class="qos-p active">请求参数<span></span></p>
						<div class="support1page developmentPage1  ">
							<table class="developmentTable">
								<tr>
									<th style="">属性名称</th>
									<th>是否必填</th>
									<th>描述</th>
									<th>取值</th>
								</tr>
								<tr>
									<td>sponsoredServiceName</td>
									<td>是</td>
									<td>统付业务名称</td>
									<td>统付业务名称<br />1、与API GW接口不传输。<br />2、与OTT SP接口可以选择传输。</td>
								</tr>
								<tr>
									<td>sponsoredServiceID</td>
									<td>是</td>
									<td>统付业务标识</td>
									<td>统付业务标识</td>
								</tr>
								<tr>
									<td>actionCategory</td>
									<td>是</td>
									<td>数据记录操作类型</td>
									<td>数据记录操作类型，填1</td>
								</tr>
								<tr class="tr-btn">
									<td><span class="tr-nav-icon"></span>
										<a>sponsoredServiceL34Rule</a>
									</td>
									<td>否</td>
									<td>L3/4规则</td>
									<td></td>
								</tr>
								<tr class="tr-close">
									<td><span class="tr-navlist-icon"></span>
										<a>ruleID</a>
									</td>
									<td>是</td>
									<td>UUID编码</td>
									<td>UUID编码，如002B9E07-2E10-438F-AF1E-40E6A96F1EE4</td>
								</tr>
								<tr class="tr-close">
									<td><span class="tr-navlist-icon"></span>
										<a>operationCategory</a>
									</td>
									<td>是</td>
									<td>变更类型列表</td>
									<td>变更类型列表<br />0：不变<br />1：增加<br />2：删除</td>
								</tr>
								<tr class="tr-close">
									<td><span class="tr-navlist-icon"></span>
										<a>serverIP</a>
									</td>
									<td>是</td>
									<td>IP地址</td>
									<td>IP地址</td>
								</tr>
								<tr class="tr-close">
									<td><span class="tr-navlist-icon"></span>
										<a>serverIPMask</a>
									</td>
									<td>是</td>
									<td>IP地址掩码</td>
									<td>IP地址掩码，不携带默认值为255.255.255.255</td>
								</tr>
								<tr class="tr-close">
									<td><span class="tr-navlist-icon"></span>
										<a>serverPortStart</a>
									</td>
									<td>是</td>
									<td>起始端口号</td>
									<td>起始端口号，不携带默认为0</td>
								</tr>
								<tr class="tr-close">
									<td><span class="tr-navlist-icon"></span>
										<a>serverPortEnd</a>
									</td>
									<td>是</td>
									<td>结束端口号</td>
									<td>结束端口号，不携带默认为65535</td>
								</tr>
								<tr class="tr-close">
									<td><span class="tr-navlist-icon"></span>
										<a>l34Protocol</a>
									</td>
									<td>是</td>
									<td>传输层协议类型</td>
									<td>传输层协议类型，不携带默认值为0</td>
								</tr>

								<tr class="tr-btn1">
									<td><span class="tr-nav-icon"></span>
										<a>sponsoredServiceUrlRule</a>
									</td>
									<td>否</td>
									<td>URL规则</td>
									<td></td>
								</tr>
								<tr class="tr-close1">
									<td><span class="tr-navlist-icon"></span>
										<a>ruleID</a>
									</td>
									<td>是</td>
									<td>UUID编码</td>
									<td>UUID编码，如002B9E07-2E10-438F-AF1E-40E6A96F1EE4</td>
								</tr>
								<tr class="tr-close1">
									<td><span class="tr-navlist-icon"></span>
										<a>operationCategory</a>
									</td>
									<td>是</td>
									<td>变更类型列表</td>
									<td>变更类型列表<br />0：不变<br />1：增加<br />2：删除</td>
								</tr>
								<tr class="tr-close1">
									<td><span class="tr-navlist-icon"></span>
										<a>uRL</a>
									</td>
									<td>是</td>
									<td>统付业务URL层规则的URL信息</td>
									<td>统付业务URL层规则的URL信息</td>
								</tr>

								<tr class="tr-btn2">
									<td><span class="tr-nav-icon"></span>
										<a>DestinationPort</a>
									</td>
									<td>否</td>
									<td>L3/4+URL混合规则</td>
									<td></td>
								</tr>
								<tr class="tr-close2">
									<td><span class="tr-navlist-icon"></span>
										<a>ruleID</a>
									</td>
									<td>是</td>
									<td>UUID编码</td>
									<td>UUID编码，如002B9E07-2E10-438F-AF1E-40E6A96F1EE4</td>
								</tr>
								<tr class="tr-close2">
									<td><span class="tr-navlist-icon"></span>
										<a>operationCategory</a>
									</td>
									<td>是</td>
									<td>变更类型列表</td>
									<td>变更类型列表<br />0：不变<br />1：增加<br />2：删除</td>
								</tr>
								<tr class="tr-close2">
									<td><span class="tr-navlist-icon"></span>
										<a>serverIP</a>
									</td>
									<td>是</td>
									<td>IP地址</td>
									<td>IP地址</td>
								</tr>
								<tr class="tr-close2">
									<td><span class="tr-navlist-icon"></span>
										<a>serverIPMask</a>
									</td>
									<td>是</td>
									<td>IP地址掩码</td>
									<td>IP地址掩码，不携带默认值为255.255.255.255</td>
								</tr>
								<tr class="tr-close2">
									<td><span class="tr-navlist-icon"></span>
										<a>serverPortStart</a>
									</td>
									<td>是</td>
									<td>起始端口号</td>
									<td>起始端口号，不携带默认为0</td>
								</tr>
								<tr class="tr-close2">
									<td><span class="tr-navlist-icon"></span>
										<a>serverPortEnd</a>
									</td>
									<td>是</td>
									<td>结束端口号</td>
									<td>结束端口号，不携带默认为65535</td>
								</tr>
								<tr class="tr-close2">
									<td><span class="tr-navlist-icon"></span>
										<a>l34Protocol</a>
									</td>
									<td>是</td>
									<td>传输层协议类型</td>
									<td>传输层协议类型，不携带默认值为0</td>
								</tr>
								<tr class="tr-close2">
									<td><span class="tr-navlist-icon"></span>
										<a>uRL</a>
									</td>
									<td>是</td>
									<td>统付业务URL层规则的URL信息</td>
									<td>统付业务URL层规则的URL信息</td>
								</tr>

							</table>
						</div>
						<p class="qos-p active">输入样例<span></span></p>
						<div class="support1page developmentPage1">
							<div class="black">
								<p>规则添加报文实例：</p>
								<p>{<br /> 　 &quot;sponsoredServiceName&quot;:&quot;Shopping&quot;,
									<br /> 　 &quot;sponsoredServiceID&quot;:10001,
									<br /> 　 &quot;actionCategory&quot;:1,
									<br /> 　 &quot;sponsoredServiceL34Rule&quot;:[
									<br /> 　　{
									<br /> 　　　 &quot;ruleID&quot;:&quot;002B9E07-2E10-438F-AF1E-40E6A96F1EE4&quot;,
									<br /> 　　 　&quot;operationCategory&quot;:1,
									<br /> 　　　 &quot;serverIP&quot;:&quot;10.10.10.10&quot;,
									<br /> 　　　 &quot;serverIPMask&quot;:&quot;255.255.255.255&quot;,
									<br /> 　　　 &quot;serverPortStart&quot;:80,
									<br /> 　　　 &quot;serverPortEnd&quot;:80,
									<br /> 　　　 &quot;l34Protocol&quot;:6
									<br /> 　　}
									<br /> 　]
									<br /> }
									<br /> 测试环境访问地址实例：
									<br /> 资源申请：POST http://test.csb.sh.ctc.com:7080/openit/class_7/FlowUniPay?Consumer=OTT</p>

							</div>
						</div>
						<p class="qos-p active">输出参数<span></span></p>
						<table class="developmentTable">
							<tr>
								<th>属性名称</th>
								<th>是否必填</th>
								<th>描述</th>
								<th>取值</th>
							</tr>
							<tr>
								<td>ResultCode</td>
								<td>是</td>
								<td>响应码</td>
								<td>0：Successful<br />127：Priority Improved（当用户从HRPD网络接入时使用，表示HRPD网络为该用户提升了等级）<br />128：Insufficient resources<br />129：Invalid service information
130：Requested service not authorized<br />131：User not online<br />132：User not existent<br />254：Auth Failed<br />255：Failed – unspecified reason</td>
							</tr>
							<tr>
								<td>ResultMessage</td>
								<td>是</td>
								<td>响应描述</td>
								<td>参见ResultCode的描述，如ResultCode = 128时，ResultMessage 为 “Insufficient resources”</td>
							</tr>
							<tr class="tr-btn">
								<td><span class="tr-nav-icon"></span>
										<a>subResultInfo</a>
									</td>
								<td>否</td>
								<td></td>
								<td></td>
							</tr>
								<tr class="tr-close">
									<td><span class="tr-navlist-icon"></span>
										<a>ruleID</a>
									</td>
									<td>是</td>
									<td></td>
									<td></td>
								</tr>
								<tr class="tr-close">
									<td><span class="tr-navlist-icon"></span>
										<a>resultCode</a>
									</td>
									<td>是</td>
									<td></td>
									<td></td>
								</tr>
								<tr class="tr-close">
									<td><span class="tr-navlist-icon"></span>
										<a>resultMessage</a>
									</td>
									<td>是</td>
									<td></td>
									<td></td>
								</tr>
						</table>
						<p class="qos-p active">输出样例<span></span></p>
						<div class="support1page developmentPage1  ">
							<div class="black">
								<p>HTTP/1.1 200 </p>
								<p>HTTP/1.1 200 <br /> Content-Type: application/json<br /> {
									<br /> 　“resultCode”: 0,<br /> 　“resultMessage”: “Successful”<br /> }
								</p>
								<p>HTTP/1.1 400<br /> Content-Type: application/json<br /> {
									<br /> 　　&quot;resultCode&quot;:1,
									<br /> 　　&quot;resultMessage&quot;:&quot;UnSuccessful&quot;,
									<br /> 　　&quot;subResultInfo&quot;:[
									<br /> 　　　{
									<br /> 　　　　&quot;ruleID&quot;:&quot;002B9E07-2E10-438F-AF1E-40E6A96F1EE4&quot;,
									<br /> 　　　　&quot;resultCode&quot;:100,
									<br /> 　　　　&quot;resultMessage&quot;:&quot;Service rule repeat&quot;<br /> 　　　}
									<br /> 　　]
									<br /> }
								</p>
							</div>
						</div>
						<p class="qos-p active">异常输出<span></span></p>
						<div class="support1page developmentPage1  ">
							<table class="developmentTable">
								<tr>
									<th>属性名称</th>
									<th>必填情况</th>
									<th>描述</th>
									<th>取值</th>
								</tr>
								<tr class="tab-big">
									<td>err_code</td>
									<td>是</td>
									<td>系统错误编码</td>
									<td>&nbsp;</td>
								</tr>
								<tr class="tab-big">
									<td>err_desc</td>
									<td>是</td>
									<td>系统错误编码</td>
									<td>&nbsp;</td>
								</tr>
							</table>
						</div>
						<p class="qos-p active">异常输出样例<span></span></p>
						<div class="support1page developmentPage1  ">
							<div class="black">
								<p>Content-Type: application/json<br /> {
									<br /> &quot;err_code&quot;: &quot;9003&quot;,<br /> &quot;err_desc&quot;: &quot;&quot;<br /> }
								</p>
							</div>
						</div>
						<p class="qos-p active">服务地址<span></span></p>
						<div class="support1page developmentPage1">
							<div class="black">
								<p>服务测试地址:http://test.csb.sh.ctc.com:7080/openit/class_7/FlowUniPay</p>
								<p>服务仿真地址:http://10.7.18.12:7080/openit/class_7/FlowUniPay</p>
								<p>服务生产地址:http://api.shtel.com.cn:9080/openit/class_7/FlowUniPay</p>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!--悬浮在右侧的定位菜单 begin-->
		<div class="wrapper-nav">
			<dl class="td-dl" style="background: #f0f0f0;">
				<dd>
					<p>快速导航</p>
				</dd>
			</dl>
			<dl class="td-dl">
				<dd>
					<p>请求参数</p>
				</dd>				
				<dd>
					<p>输入样例</p>
				</dd>
				<dd>
					<p>输出参数</p>
				</dd>
				<dd>
					<p>输出样例</p>
				</dd>
				<dd>
					<p>异常输出</p>
				</dd>
				<dd>
					<p>异常输出样例</p>
				</dd>
				<dd><p>服务地址</p></dd>
			</dl>
		</div>
		<!--悬浮在右侧的定位菜单 end-->
		<div id="append-bot"></div>
		<script>
			$("#append-bot").load("footer.html");
		</script>
	</body>

</html>